Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(PE-7274): funding source #636

Merged
merged 13 commits into from
Jan 7, 2025
Merged

Conversation

atticusofsparta
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Jan 2, 2025

Visit the preview URL for this PR (updated for commit 95b8cde):

https://arns-portal--pr636-pe-7274-funding-sour-i6l72crv.web.app

(expires Tue, 21 Jan 2025 14:41:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1f59769442cb89cf2a92042a342e51fe94047b94

Comment on lines +1 to +22
import type { StorybookConfig } from '@storybook/react-vite';

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],

addons: [
'@storybook/addon-onboarding',
'@storybook/addon-essentials',
'@chromatic-com/storybook',
'@storybook/addon-interactions',
],

framework: {
name: '@storybook/react-vite',
options: {},
},

typescript: {
reactDocgen: 'react-docgen-typescript',
},
};
export default config;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will always be my rec to introduce new tools in separate and isolated PRs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will endeavour to do so in the future.

};

export function formatARIOWithCommas(ario: number) {
return ario.toLocaleString('en-US', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems odd/inconsistent we have two functions for formatting ARIO values, one with 3 digits and one with 2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well its for different circumstances, one is long form one is short form. In this context we have a dropdown that we want to represent the numbers as compact as possible, and we have a larger area we want to display the numbers long form.

const [record, setRecord] = useState<AoArNSNameData>();
const [antContract, setAntContract] = useState<ANT>();
const [undernameCount, setUndernameCount] = useState<number>(0);
// const [record, setRecord] = useState<AoArNSNameData>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dead code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@atticusofsparta atticusofsparta merged commit d0adcf2 into develop Jan 7, 2025
6 checks passed
@atticusofsparta atticusofsparta deleted the PE-7274-funding-source branch January 7, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants