♻️(frontend) create useProviderStore
We created useProviderStore, a store dedicated to managing the provider of the document. We created as well a new hook useCollaboration, it will be use to interact with the provider store. This refacto is a first step to implement the long polling.
This commit is contained in:
@@ -41,7 +41,7 @@ export const createDoc = async (
|
||||
.click();
|
||||
|
||||
await page.getByRole('heading', { name: 'Untitled document' }).click();
|
||||
await page.keyboard.type(randomDocs[i]);
|
||||
await page.keyboard.type(randomDocs[i], { delay: 100 });
|
||||
await page.getByText('Created at ').click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user