-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from yssk22/develop
[expo] remove topological sort
- Loading branch information
Showing
5 changed files
with
7 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
import { WithSafeArea } from '@hpapp/features/common'; | ||
import { defineScreen, useScreenTitle } from '@hpapp/features/common/stack'; | ||
import { t } from '@hpapp/system/i18n'; | ||
import { useState } from 'react'; | ||
|
||
import HPSortNewConfigForm from './internals/new/HPSortNewConfigForm'; | ||
import HPSortNewRoundContainer from './internals/new/HPSortNewRoundContainer'; | ||
import { HPSortNewConfig } from './internals/new/types'; | ||
|
||
export type HPSortNewSceenProps = object; | ||
|
||
export default defineScreen('/hpsort/new/', function HPSortNewSceen() { | ||
useScreenTitle(t('New Sort')); | ||
const [config, setConfig] = useState<HPSortNewConfig | null>(null); | ||
|
||
return ( | ||
<WithSafeArea> | ||
{config === null ? ( | ||
<HPSortNewConfigForm onSelect={(config) => setConfig(config)} /> | ||
) : ( | ||
<HPSortNewRoundContainer config={config} /> | ||
)} | ||
<HPSortNewRoundContainer | ||
config={{ | ||
numMembersToSelect: 2 | ||
}} | ||
/> | ||
</WithSafeArea> | ||
); | ||
}); |
78 changes: 0 additions & 78 deletions
78
expo/features/hpsort/internals/new/HPSortNewConfigForm.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 0 additions & 124 deletions
124
expo/features/hpsort/internals/sort/HPSortTopologicalSort.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.